00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef DECONSOLE_HPP
00029 #define DECONSOLE_HPP
00030
00031 #include "deGlobalTypes.hpp"
00032
00033 #if defined(DEUTIL_DLL_EXPORTS) || defined(DESTINY3D_EXPORT_ALL)
00034 # define DECONSOLE_API extern "C" DEDLL_EXPORT
00035 #elif defined(DESTINY3D_STATIC_LINK)
00036 # define DECONSOLE_API extern "C"
00037 #else
00038 # define DECONSOLE_API extern "C" DEDLL_IMPORT
00039 #endif
00040
00041 #ifdef USING_DESTINY3D
00042 #ifdef _DEBUG
00043 # ifdef DESTINY3D_STATIC_LINK
00044 # pragma comment(lib, "deUtil_sd")
00045 # else
00046 # pragma comment(lib, "deUtild")
00047 # endif //DESTINY3D_STATIC_LINK
00048 #else
00049 # ifdef DESTINY3D_STATIC_LINK
00050 # pragma comment(lib, "deUtil_s")
00051 # else
00052 # pragma comment(lib, "deUtil")
00053 # endif //DESTINY3D_STATIC_LINK
00054 #endif //_DEBUG
00055 #endif //USING_DESTINY3D
00056
00057 enum ConsoleColor_t
00058 {
00059 Black,
00060 DarkRed,
00061 LightRed,
00062 DarkGreen,
00063 LightGreen,
00064 DarkBlue,
00065 LightBlue,
00066 Brown,
00067 Yellow,
00068 DarkCyan,
00069 LightCyan,
00070 Purple,
00071 Pink,
00072 Gray,
00073 White,
00074 };
00075
00076 DECONSOLE_API void deConsole_MakeConsole();
00077 DECONSOLE_API void deConsole_DestroyConsole();
00078
00079
00080 DECONSOLE_API bool deConsoleColor(ConsoleColor_t fore, ConsoleColor_t back = Black);
00081
00082 DECONSOLE_API void deConsoleXY(int X, int Y);
00083
00084 DECONSOLE_API bool deConsoleOut(const char * text, ...);
00085
00086 #endif